package cn.iocoder.yudao.module.biz.convert.risk.hazardResource;

import java.util.*;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.biz.controller.admin.risk.hazardResource.vo.BizHazardResourceCreateReqVO;
import cn.iocoder.yudao.module.biz.controller.admin.risk.hazardResource.vo.BizHazardResourceExcelVO;
import cn.iocoder.yudao.module.biz.controller.admin.risk.hazardResource.vo.BizHazardResourceRespVO;
import cn.iocoder.yudao.module.biz.controller.admin.risk.hazardResource.vo.BizHazardResourceUpdateReqVO;
import cn.iocoder.yudao.module.biz.dal.dataobject.risk.hazardResource.BizHazardResourceDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 危险源 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface BizHazardResourceConvert {

    BizHazardResourceConvert INSTANCE = Mappers.getMapper(BizHazardResourceConvert.class);

    BizHazardResourceDO convert(BizHazardResourceCreateReqVO bean);

    BizHazardResourceDO convert(BizHazardResourceUpdateReqVO bean);

    BizHazardResourceRespVO convert(BizHazardResourceDO bean);

    List<BizHazardResourceRespVO> convertList(List<BizHazardResourceDO> list);

    PageResult<BizHazardResourceRespVO> convertPage(PageResult<BizHazardResourceDO> page);

    List<BizHazardResourceExcelVO> convertList02(List<BizHazardResourceDO> list);

}
